package com.member.shop.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.member.shop.domain.SysBizRaffleQuota;

/**
 * 抽奖额度Service接口
 *
 * @author lixinchen
 * @date 2024-11-09
 */
public interface ISysBizRaffleQuotaService extends IService<SysBizRaffleQuota>
{
    /**
     * 查询抽奖额度
     *
     * @param id 抽奖额度主键
     * @return 抽奖额度
     */
    public SysBizRaffleQuota selectSysBizRaffleQuotaById(Long id);

    /**
     * 查询抽奖额度列表
     *
     * @param queryWrapper 抽奖额度
     * @return 抽奖额度集合
     */
    public List<SysBizRaffleQuota> selectSysBizRaffleQuotaList(LambdaQueryWrapper<SysBizRaffleQuota> queryWrapper);

    /**
     * 新增抽奖额度
     *
     * @param sysBizRaffleQuota 抽奖额度
     * @return 结果
     */
    public int insertSysBizRaffleQuota(SysBizRaffleQuota sysBizRaffleQuota);

    /**
     * 修改抽奖额度
     *
     * @param sysBizRaffleQuota 抽奖额度
     * @return 结果
     */
    public int updateSysBizRaffleQuota(SysBizRaffleQuota sysBizRaffleQuota);

    /**
     * 批量删除抽奖额度
     *
     * @param ids 需要删除的抽奖额度主键集合
     * @return 结果
     */
    public int deleteSysBizRaffleQuotaByIds(Long[] ids);

    /**
     * 删除抽奖额度信息
     *
     * @param id 抽奖额度主键
     * @return 结果
     */
    public int deleteSysBizRaffleQuotaById(Long id);

    List<SysBizRaffleQuota> selectSysBizRaffleQuotaList(SysBizRaffleQuota sysBizRaffleQuota);
}